/**
 * 
 */
package com.yst.metho.web.application.components.table;

import nextapp.echo2.app.Component;
import nextapp.echo2.app.Label;
import nextapp.echo2.app.Table;
import nextapp.echo2.app.table.TableCellRenderer;

/**
 * @author perso
 * 
 */
public class TableHeaderCellRenderer implements TableCellRenderer
{

	/*
	 * (non-Javadoc)
	 * 
	 * @see nextapp.echo2.app.table.TableCellRenderer#getTableCellRendererComponent(nextapp.echo2.app.Table,
	 *      java.lang.Object, int, int)
	 */
	public Component getTableCellRendererComponent(final Table table, Object value, final int column, int row)
	{
		Label lbl = new Label();
		lbl.setText(value.toString());
		lbl.setStyleName("ListingView.HeaderLabel");
		return lbl;
	}

}
